|
|
|
|
|
|
|
Figure 9.5.
Second normal form allows data to be kept even if it's not related to any current
information. |
|
|
|
|
|
|
|
|
The third normal form is the final step in the process toward a well-designed database. This step gets rid of any data in the tables that doesn't solely depend on the primary key. If the employee changes jobs, you would update his or her record with the new job information. However, the job description and location isn't dependent on the employee. This is the data that would be placed into its own table. Figure 9.6 shows the final result of the normalization process. |
|
|
|
|
|
|
|
|
In this form, your database can handle any changes to the information without requiring changes to the structure. |
|
|
|
|
|
|
|
|
Many other tables can be added to the database. Some of these are like the skill description table in the preceding example. This type of table is called a lookup table. Lookup tables are used to store common information such as skill descriptions, or static information such as state codes and their names. |
|
|
|
|
|